package com.sunny.design.composite;

/**
 * @author Sunny
 * @date 2020/3/7
 */
public abstract class Document {

    protected String name;
    protected int level;

    protected Document(String name, int level) {
        this.name = name;
        this.level = level;
    }

    public abstract String getName();

    public abstract void print();

}
